package cn.com.nes.mybatis.agent.ope.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@TableName("is_spare_part")
@Data
public class IsSparePart {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 零件id
     */
    @TableId(value = "part_id")
    private String partId;

    /**
     * 零件类型id
     */
    @TableId(value = "part_type_id")
    private String partTypeId;

    /**
     * 零件编号
     */
    @TableId(value = "part_no")
    private String partNo;

    /**
     * 零件名称
     */
    @TableId(value = "part_name")
    private String partName;

    /**
     * 单价
     */
    @TableId(value = "price")
    private BigDecimal price;

    /**
     * 厂商id
     */
    @TableId(value = "manufacture_id")
    private String manufactureId;

    @TableId(value = "is_deleted")
    private Byte isDeleted;
}
